import { BaseEntity } from "../BaseEntity";
import { Model } from "sequelize";
import { TStatus } from "../../types/CommonType";

export default class SysLoginLogEntity extends BaseEntity {
  public id?: number;

  public loginId: string;

  public ipAddr: string;

  public location: string;

  public browser: string;

  public os: string;

  public status: TStatus;

  public remark: string;

  public static transform(plainObject: object): SysLoginLogEntity {
    return super.baseTransform(SysLoginLogEntity, plainObject);
  }
}

export interface ISysLoginLogModel extends Model<SysLoginLogEntity> {}
